WP_SMS\Helper A

Total Complexity 74
Dependencies 7
Dependents 33
Total lines 499
Lines of code 273
Logical lines of code 147
Comment lines 116
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
checkMobileNumberValidity()
B
42 18 47
getWooCommerceCustomerNumberByOrderId()
A
54 8 20
getWooCommerceCustomersNumbers()
S
45 5 42
getUsersMobileNumbers()
S
50 5 29
prepareMobileNumberQuery()
S
57 4 16
prepareMobileNumber()
S
65 5 8
loadTemplate()
S
61 3 13
normalizeNumber()
S
67 3 7
maybeStartSession()
S
72 3 5
getUserByPhoneNumber()
S
63 3 10
notice()
S
61 2 13
getWooCommerceCheckoutFieldName()
S
69 2 6
flashNotice()
S
64 2 10
getListOfRoles()
S
64 2 10
sendMail()
S
69 1 6
getPluginAssetUrl()
S
78 1 3
sanitizeMobileNumber()
S
78 1 3
getCurrentAdminPageUrl()
S
73 1 4
isJson()
S
75 1 4
getAssetPath()
S
78 1 3
getUserMobileNumberByUserId()
S
74 1 4
getUserMobileFieldName()
S
75 1 4
makeUrlsShorter()
S
70 1 6